package com.xinguan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈俊行
 * @Date: 2023/11/10/8:33
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("purchase")
public class Purchase {
    @TableId(value = "purchase_id",type = IdType.AUTO)
    private Integer purchaseId;

    private int id;
    private int number;
    private double amount;
}
